using System.Activities.Presentation;
using Headsight.BPMN2WF.Testing.TestObjCtors;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Headsight.BPMN2WF.Transformation
{
    [TestClass]
    public class WFModelTest
    {
        private WorkflowDesigner _wfDesigner;
        private IBPMN2WFResult _sut;

        [TestInitialize]
        public void SetUp()
        {
            _wfDesigner = new WorkflowDesignerCtor().Create();

            _sut = new BPMN2WFResultImpl(_wfDesigner);
        }

        [TestMethod]
        public void Model()
        {
            Assert.AreSame(_wfDesigner, _sut.Model);
        }
    }
}